package com.yst.sms;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SmsSender implements Serializable {
    private String type;
    private SmsInterface sender;
    private long lastSendTime=System.currentTimeMillis();
    private long errorCount=0;
    private long sendTotal=0;
    private long successCount=0;
}
